package com.exp.bookhouse.pojo.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

@ApiModel("首页VO")
public class IndexVo implements Serializable {

    @ApiModelProperty(value = "访问量")
    private Long views;         //访问量

    @ApiModelProperty(value = "用户数量")
    private Integer numbers;    //用户数量

    @ApiModelProperty(value = "订单数量")
    private Integer orderQuantity;  //订单数量

    @ApiModelProperty(value = "总交易额")
    private String totalPrice;      //总交易额

    @ApiModelProperty(value = "登录时间")
    private Date date;          //登录时间

    @ApiModelProperty(value = "登录ip")
    private String ip;  //登录ip

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public Long getViews() {
        return views;
    }

    public void setViews(Long views) {
        this.views = views;
    }

    public Integer getNumbers() {
        return numbers;
    }

    public void setNumbers(Integer numbers) {
        this.numbers = numbers;
    }

    public Integer getOrderQuantity() {
        return orderQuantity;
    }

    public void setOrderQuantity(Integer orderQuantity) {
        this.orderQuantity = orderQuantity;
    }

    public String getTotalPrice() {
        return totalPrice;
    }

    public void setTotalPrice(String totalPrice) {
        this.totalPrice = totalPrice;
    }

    @Override
    public String toString() {
        return "IndexVo{" +
                "views=" + views +
                ", numbers=" + numbers +
                ", orderQuantity=" + orderQuantity +
                ", totalPrice='" + totalPrice + '\'' +
                '}';
    }
}
